package com.zdkj.subway.st.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdkj.subway.st.entity.SwTkTicketDeliveryDetail;
import com.zdkj.subway.st.mapper.SwTkTicketDeliveryDetailMapper;
import com.zdkj.subway.st.service.SwTkTicketDeliveryDetailService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 车票配送/配入明细表
 *
 * @author cuilei
 * @date 2020-06-12 17:40:29
 */
@Service
@AllArgsConstructor
public class SwTkTicketDeliveryDetailServiceImpl extends ServiceImpl<SwTkTicketDeliveryDetailMapper, SwTkTicketDeliveryDetail> implements SwTkTicketDeliveryDetailService {
    private final SwTkTicketDeliveryDetailMapper swTkTicketDeliveryDetailMapper;

    @Override
    public Boolean deleteByRefId(Integer refId) {
        return swTkTicketDeliveryDetailMapper.deleteByRefId(refId);
    }
}
